package stdying.handyweibo.model;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * Description: 消息未读取
 * Author: liulili
 * Created: 2015-12-24
 */
public class Remind implements Parcelable {
    private int status;
    private int follower;
    private int cmt;
    private int dm;
    @SerializedName("mention_status")
    private int mentionStatus;
    @SerializedName("mention_cmt")
    private int mentionCmt;
    private int group;
    @SerializedName("private_group")
    private int privateGroup;
    private int notice;
    private int invite;
    private int badge;
    private int photo;
    private int msgbox;

    public int getBadge() {
        return badge;
    }

    public void setBadge(int badge) {
        this.badge = badge;
    }

    public int getCmt() {
        return cmt;
    }

    public void setCmt(int cmt) {
        this.cmt = cmt;
    }

    public int getDm() {
        return dm;
    }

    public void setDm(int dm) {
        this.dm = dm;
    }

    public int getFollower() {
        return follower;
    }

    public void setFollower(int follower) {
        this.follower = follower;
    }

    public int getGroup() {
        return group;
    }

    public void setGroup(int group) {
        this.group = group;
    }

    public int getInvite() {
        return invite;
    }

    public void setInvite(int invite) {
        this.invite = invite;
    }

    public int getMentionCmt() {
        return mentionCmt;
    }

    public void setMentionCmt(int mentionCmt) {
        this.mentionCmt = mentionCmt;
    }

    public int getMentionStatus() {
        return mentionStatus;
    }

    public void setMentionStatus(int mentionStatus) {
        this.mentionStatus = mentionStatus;
    }

    public int getMsgbox() {
        return msgbox;
    }

    public void setMsgbox(int msgbox) {
        this.msgbox = msgbox;
    }

    public int getNotice() {
        return notice;
    }

    public void setNotice(int notice) {
        this.notice = notice;
    }

    public int getPhoto() {
        return photo;
    }

    public void setPhoto(int photo) {
        this.photo = photo;
    }

    public int getPrivateGroup() {
        return privateGroup;
    }

    public void setPrivateGroup(int privateGroup) {
        this.privateGroup = privateGroup;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.status);
        dest.writeInt(this.follower);
        dest.writeInt(this.cmt);
        dest.writeInt(this.dm);
        dest.writeInt(this.mentionStatus);
        dest.writeInt(this.mentionCmt);
        dest.writeInt(this.group);
        dest.writeInt(this.privateGroup);
        dest.writeInt(this.notice);
        dest.writeInt(this.invite);
        dest.writeInt(this.badge);
        dest.writeInt(this.photo);
        dest.writeInt(this.msgbox);
    }

    public Remind() {
    }

    protected Remind(Parcel in) {
        this.status = in.readInt();
        this.follower = in.readInt();
        this.cmt = in.readInt();
        this.dm = in.readInt();
        this.mentionStatus = in.readInt();
        this.mentionCmt = in.readInt();
        this.group = in.readInt();
        this.privateGroup = in.readInt();
        this.notice = in.readInt();
        this.invite = in.readInt();
        this.badge = in.readInt();
        this.photo = in.readInt();
        this.msgbox = in.readInt();
    }

    public static final Parcelable.Creator<Remind> CREATOR = new Parcelable.Creator<Remind>() {
        public Remind createFromParcel(Parcel source) {
            return new Remind(source);
        }

        public Remind[] newArray(int size) {
            return new Remind[size];
        }
    };
}
